<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>管理员控制台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #f5f5f5;
        }

        .navbar {
            background-color: #333;
            padding: 1rem 2rem;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .navbar h1 {
            font-size: 1.5rem;
        }

        .navbar .nav-links a {
            color: white;
            text-decoration: none;
            margin-left: 2rem;
        }

        .main-content {
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .feature-card {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 2.5rem;
            color: #007bff;
            margin-bottom: 1rem;
        }

        .feature-card h3 {
            margin-bottom: 1rem;
            color: #333;
        }

        .feature-card p {
            color: #666;
            margin-bottom: 1.5rem;
        }

        .feature-btn {
            display: inline-block;
            padding: 0.5rem 1rem;
            background-color: #007bff;
            color: white;
            border-radius: 5px;
            text-decoration: none;
        }

        .welcome-section {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .welcome-section h2 {
            color: #333;
            margin-bottom: 1rem;
        }

        .welcome-section p {
            color: #666;
        }
    </style>
</head>
<body>
    <nav class="navbar">
        <h1>管理员控制台</h1>
        <div class="nav-links">
            <a href="{% url 'author:admin_index' %}">首页</a>
            <a href="{% url 'author:logout' %}">退出</a>
        </div>
    </nav>

    <div class="main-content">
        <div class="welcome-section">
            <h2>欢迎来到管理员控制台</h2>
            <p>在这里您可以管理用户、职位信息和系统设置</p>
        </div>

        <div class="features">
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-users"></i>
                </div>
                <h3>用户管理</h3>
                <p>管理系统用户，包括学生、企业和管理员账户</p>
                <span class="feature-btn">管理用户</span>
            </div>

            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-building"></i>
                </div>
                <h3>企业审核</h3>
                <p>审核企业注册申请，确保企业信息的真实性</p>
                <span class="feature-btn">查看申请</span>
            </div>

            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-briefcase"></i>
                </div>
                <h3>职位管理</h3>
                <p>审核和管理企业发布的职位信息</p>
                <span class="feature-btn">管理职位</span>
            </div>

            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-chart-line"></i>
                </div>
                <h3>数据统计</h3>
                <p>查看系统使用数据和就业统计信息</p>
                <span class="feature-btn">查看统计</span>
            </div>

            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-cog"></i>
                </div>
                <h3>系统设置</h3>
                <p>管理系统配置和基本参数设置</p>
                <span class="feature-btn">系统设置</span>
            </div>

            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-bell"></i>
                </div>
                <h3>通知管理</h3>
                <p>发布和管理系统通知及公告</p>
                <span class="feature-btn">管理通知</span>
            </div>
        </div>
    </div>
</body>
</html>
